<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/20
 * Time: 17:21
 */
namespace Addons\IcWaterGoods\Model;

class IcAuthenticationModel extends PublicModel{
    public function getAuth($openid) {
        $auth = $this
            ->where(array('openid'=>$openid))
            ->find();


        return $auth;
    }
}